package org.kl.bf.entity.basic;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.kl.bf.entity.AuditableEntity;

@Entity
@Table(name = "basic_notify_group")
public class NotifyGroup extends AuditableEntity {

	private static final long serialVersionUID = 1L;

	private User user;
	private String groupName;
	private Integer displayOrder;

	public NotifyGroup() {

	}

	public NotifyGroup(String id) {
		this.id = id;
	}

	@ManyToOne
	@JoinColumn(name = "user_id")
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Integer getDisplayOrder() {
		return displayOrder;
	}

	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}
}
